package cn.picclife.mwx.manager.sys.model.po;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

import cn.picclife.mwx.manager.sys.model.bo.NewPageCount;

/**
 * 
 * @ClassName FlowPath.java
 * @Description 流程基本信息实体类
 * @author Guan JunHui
 * @Date 2017年9月13日
 */
public class FlowPath extends NewPageCount<FlowPath>{

	private int flowpath_id;//主键
	
	private String name;//流程名称
	
	private int area;//适用地区
	
	private int insurance_type;//适用保险种类
	
	@DateTimeFormat(pattern="yyyy-MM-dd")
	@JsonFormat(pattern="yyyy-MM-dd")
	private Date  startDate;//生效日期
	
	@DateTimeFormat(pattern="yyyy-MM-dd")
	@JsonFormat(pattern="yyyy-MM-dd")
	private Date endDate;//失效日期
	
	private String rule;//适用规则
	
	private Date createTime;//创建时间
	
	private String createUser;//创建人
	
	private Date editTime;//修改时间
	
	private String editUser;//修改人
	
	private int num;//节点个数

	public int getFlowpath_id() {
		return flowpath_id;
	}

	public void setFlowpath_id(int flowpath_id) {
		this.flowpath_id = flowpath_id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getArea() {
		return area;
	}

	public void setArea(int area) {
		this.area = area;
	}

	public int getInsurance_type() {
		return insurance_type;
	}

	public void setInsurance_type(int insurance_type) {
		this.insurance_type = insurance_type;
	}

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public String getRule() {
		return rule;
	}

	public void setRule(String rule) {
		this.rule = rule;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public Date getEditTime() {
		return editTime;
	}

	public void setEditTime(Date editTime) {
		this.editTime = editTime;
	}

	public String getEditUser() {
		return editUser;
	}

	public void setEditUser(String editUser) {
		this.editUser = editUser;
	}

	public int getNum() {
		return num;
	}

	public void setNum(int num) {
		this.num = num;
	}
	
}
